Skip to content

InputButton

InputButton is a class that represents a button KeyCode

Not newable

This object cannot be created by scripts using Instance.New().

Properties

KeyCode : KeyCode

Key code for this button

Methods

New → InputButton

Parameters: ``

Creates a new button with this keycode.

New → InputButton

Parameters: key [ KeyCode ]

Creates a new button with this keycode.